﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace _测试EF.Model
{
    [Table("StuFraction")]
    public class StuFraction
    {
        [Key]
        public int Id { get; set; }
        public int StuId { get; set; }
        /// <summary>
        /// 科目
        /// </summary>
        public string CourseName { get; set; }
        /// <summary>
        /// 分数
        /// </summary>
        public int Score { get; set; }
        /// <summary>
        /// 考号
        /// </summary>
        public string ExamCode { get; set; }
        /// <summary>
        /// 考试时间
        /// </summary>
        public DateTime ExamTime { get; set; }
        public DateTime CreateTime { get; set; }
        public string CreateBy { get; set; }
    }
}